package com.open.capacity.notice.provider.sms;

import org.springframework.boot.context.properties.ConfigurationProperties;

import lombok.Data;

@Data
@ConfigurationProperties(prefix = SmsProperties.PREFIX)
public class SmsProperties {

	public static final String PREFIX = "cloud.notice.sms";

	private String host = "ip:port";

	private String userId = "1111";

	private String apikey = "b";

	/** appId */
	private String appId;
	/** 证书 */
	private String appCertificate;
	/** token过期时间 */
	private int expirationTimeInSeconds = 3600;
	/** 声网restful登录key: 必填 */
	private String loginKey;
	/** 声网restful登录密钥: 必填 */
	private String loginSecret;

}
